package com.scs.application.modules.adm.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.scs.application.core.entity.DataEntity;
import com.scs.application.modules.upgrade.db.annotation.EntityClassAnnotation;
import com.scs.application.modules.upgrade.db.annotation.EntityFieldAnnotation;
import com.scs.application.modules.upgrade.db.enums.EntityFieldType;
import lombok.Data;
import lombok.experimental.Accessors;
/**
 * <p>
 * 耗材供应商报价资质
 * </p>
 */
@Data
@Accessors(chain = true)
@EntityClassAnnotation(remark = "耗材供应商报价资质")
@TableName("adm_matr_inquiry_cert")
public class MatrInquiryCert extends DataEntity {



    @EntityFieldAnnotation(
            text = "资质类型",
            length = "30",
            not_null = false,
            default_value = "",
            comment = "SUPPLIER,MFG,CATEGORY,MATERIAL"
    )
    private String certType;

    @EntityFieldAnnotation(
            text = "根据不同的业务类型填写的业务ID，耗材此时还没有ID；；在SPD展示时可忽略此字段，直接展示业务名称和资质名称及url",
            type = EntityFieldType.LONG,
            length = "",
            not_null = false,
            default_value = "",
            comment = ""
    )
    private String busId;

    @EntityFieldAnnotation(
            text = "根据不同的业务类型填写的业务名称",
            length = "100",
            not_null = false,
            default_value = "",
            comment = ""
    )
    private String busName;

    @EntityFieldAnnotation(
            text = "平台资质名称",
            length = "100",
            not_null = false,
            default_value = "",
            comment = ""
    )
    private String certName;

    @EntityFieldAnnotation(
            text = "链接",
            length = "100",
            not_null = false,
            default_value = "",
            type = EntityFieldType.LONGTEXT,
            comment = ""
    )
    private String certUrl;

    @EntityFieldAnnotation(
            text = "供应商代码",
            length = "30",
            not_null = false,
            default_value = "",
            comment = ""
    )
    private String supplierCode;

    @EntityFieldAnnotation(
            text = "供应商名称",
            length = "100",
            not_null = false,
            default_value = "",
            comment = ""
    )
    private String supplierName;
    @EntityFieldAnnotation(
            text = "adm_matr_audit.id",
            type = EntityFieldType.LONG,
            length = "",
            not_null = false,
            default_value = "",
            comment = ""
    )
    private String auditId;

    @EntityFieldAnnotation(
            text = "链接",
            length = "100",
            not_null = false,
            default_value = "",
            type = EntityFieldType.LONGTEXT,
            comment = ""
    )
    private String extTypes;
}
